﻿@model MVCDemo.Models.EmployeeEx

@{
    ViewBag.Title = "Edit";
}

<link href="~/Content/themes/base/jquery.ui.all.css" rel="stylesheet" />
<link href="~/Content/Site.css" rel="stylesheet" />
<script src="~/Scripts/jquery-1.8.2.min.js"></script>
<script src="~/Scripts/jquery-ui-1.8.24.min.js"></script>

<script type="text/javascript">
    $(function () {
        $("input:text.date").datepicker({ dateFormat: "dd-mm-yy" });
    })
</script>

@using (@Html.BeginForm())
{
    @section Menu
    {
        @Html.ActionLink("List Employees", "Index")<br />
        @Html.ActionLink("Edit Employee", "edit", new { id = Model.Id })<br />
        @Html.ActionLink("Employee Details", "details", new { id = Model.Id })
    }
    @Html.EditorForModel()
    <input type="submit" value="Save" />
}
